﻿<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd">
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ page contentType="text/html; charset=UTF-8"%>
<%@ page import="nc.bs.ebvppub.tools.page.LanguageSupportTile"%>
<%@ page import="nc.bs.ebvp.pubdisplay.Constants"%>
<%@ page import="nc.bs.ebvp.pubdisplay.pojo.PubDisplayPOJO"%>
<%@ page import="java.util.List"%>
<%@ page import="java.util.Map"%>
<%@ page import="nc.bs.ecpubapp.tools.ECVersionPara"%>
<%@ page import="nc.vo.ebvp.constant.IModuleCodeConstant"%>
<%@ page import="nc.login.bs.LoginVerifyBean"%>
<%@ page import="nc.login.vo.ISystemIDConstants"%>
<%@ page import="nc.itf.ebvp.register.service.IRegisterService"%>
<%@ page import="nc.bs.ebvppub.ebvpservicefactory.NCLocatorFactory"%>
<%@ page import="nc.bs.framework.comn.NetStreamContext"%>


<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<%@ taglib uri="/WEB-INF/lang-support.tld" prefix="lang-support"%>  
<%
	byte[] sys = new LoginVerifyBean(ISystemIDConstants.NCSYSTEM).getSysID().getBytes("UTF-8");
	try {
		NCLocatorFactory.getInstance().getEbvpNCLocator().lookup(IRegisterService.class).setTokenToStream(sys,session.getId().getBytes("UTF-8"));
		byte[] token1 = NetStreamContext.getToken();

		if (null != token1) {
			session.setAttribute("NC-EC-EBVP-TOKEN", token1);
		}
	} catch (Exception e) {
		
	}
	String path = request.getContextPath();
	String url = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort();
	nc.vo.sm.UserVO userVo = (nc.vo.sm.UserVO)request.getSession().getAttribute("EBVP_SESSION_ID_");
	Object obj = session.getAttribute("suppName");
	Constants congs = new Constants();
	Map<String, List<PubDisplayPOJO>> mapPubVo = congs.getAllPubInfo();
	List<PubDisplayPOJO> purAnnounce = mapPubVo.get(Constants.PUB_ANNOUNCE);
	List<PubDisplayPOJO> lawAndRule = mapPubVo.get(Constants.PUB_LAW);
	List<PubDisplayPOJO> purEtrends = mapPubVo.get(Constants.PUB_TREND);
	request.setAttribute("purAnnounce",purAnnounce);
	request.setAttribute("lawAndRule",lawAndRule);
	request.setAttribute("purEtrends",purEtrends);
	if(obj != null){
		 if(null != userVo){
		 	String zhuce = (String)request.getAttribute("zhuce");
		 	String loginErr = (String)request.getAttribute("loginErr");
		 	if(zhuce == null && loginErr == null){
			  response.sendRedirect("/ebvp/infopub/pubmain");
		 	}
		 }
	 } else { 
		 if(null != userVo){
			String zhuce = (String)request.getAttribute("zhuce");
			String redirectUrl = (String)request.getSession().getAttribute("redirecturl");
			if(redirectUrl != null){
				response.sendRedirect( redirectUrl);
			}else {
			 	if(zhuce == null){
					response.sendRedirect("/ebvp/register/inviteAuditing");
				}
			}
		}
	 }
	 String header_logo = "header_logo";
	 String strSelLan = (String)request.getParameter("sel_lan");
	 if(null == strSelLan){
	 	strSelLan = (String)request.getSession().getAttribute("sel_lan");
	 }
	 if(null == strSelLan){
	 	strSelLan = LanguageSupportTile.getStartTag();
	 }
	 String strLanShow = "中文";/* -=notranslate=- */
	 if(null != strSelLan){
	 	if("english".equals(strSelLan)){
	 		strLanShow = "English";
	 		header_logo = "header_logoen";
	 	}else if("tradchn".equals(strSelLan)){
	 		strLanShow = "繁体";/* -=notranslate=- */
	 		header_logo = "header_logotr";
	 	}else if("french".equals(strSelLan)){
	 		strLanShow = "Français";/*-=notranslate=-*/
	 		header_logo = "header_logofr";
	 	}
	 	
	 }else{
	 	strSelLan = "simpchn";
	 }
	 request.getSession().setAttribute("sel_lan",strSelLan);
	 java.util.Map<String,Boolean> mapModulesStatus = (java.util.Map<String,Boolean>)session.getAttribute(IModuleCodeConstant.MODULE_SESSION_ID);
	 boolean bModuleSRM = false;
	 boolean bModuleEBP = false;
	 if(null != mapModulesStatus){
		 bModuleSRM = mapModulesStatus.get(IModuleCodeConstant.MODULE_SRM).booleanValue();
		 bModuleEBP = mapModulesStatus.get(IModuleCodeConstant.MODULE_EBP).booleanValue();
	 }
	 String strImg1 = "temp_slideshow_un_04.png";
	 String strTbImg1 = "temp_slideshow_un_tb01.png";
	 String strImg2 = "temp_slideshow_un_01.png";
	 String strTbImg2 = "temp_slideshow_un_tb02.png";
	 String strImg3 = "temp_slideshow_un_02.png";
	 String strTbImg3 = "temp_slideshow_un_tb03.png";
	 String strImg4 = "temp_slideshow_un_03.png";
	 String strTbImg4 = "temp_slideshow_un_tb04.png";
	 String strImg5 = "temp_slideshow_un_05.png";
	 String strTbImg5 = "temp_slideshow_un_tb05.png";
	 String strTile = "";
	 if(ECVersionPara.isGHVersion1() || ECVersionPara.isGHVersion2()){
	 	 strImg1 = "temp_slideshow_un_11.png";
		 strTbImg1 = "temp_slideshow_un_tb11.png";
		 strImg2 = "temp_slideshow_un_22.png";
		 strTbImg2 = "temp_slideshow_un_tb22.png";
		 strImg3 = "temp_slideshow_un_33.png";
		 strTbImg3 = "temp_slideshow_un_tb33.png";
		 strImg4 = "temp_slideshow_un_44.png";
		 strTbImg4 = "temp_slideshow_un_tb44.png";
		 strImg5 = "temp_slideshow_un_55.png";
		 strTbImg5 = "temp_slideshow_un_tb55.png";
		 strTile = "2012 Computer Purchasing";
		 header_logo = "header_logo_gh";
	 }
	 request.getSession().setAttribute("header_logo",header_logo);
%>


<html>
	<head>
		<script>
	    	var basePath = "<%=url%>/";
	    	var strSelLan = "<%=strSelLan%>";
	    	var bModuleSRM = <%=bModuleSRM%>;
	 		var bModuleEBP = <%=bModuleEBP%>;
	 		var bStdVersion = <%=ECVersionPara.isStdVersion()%>;	
	    </script>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<meta http-equiv="Pragma" content="no-cache" />  
		<meta http-equiv="Cache-Control" content="no-cache" />  
		<meta http-equiv="Expires" content="0" />  
		
		<title>Yonyou NC</title>
		<link rel="stylesheet" type="text/css"
			href="<%=path%>/commonres/base/base.css" />
		<link rel="stylesheet" type="text/css"
			href="<%=path%>/commonres/common/frame/src/css/frame.css" />
		<link rel="stylesheet" type="text/css"
			href="<%=path%>/commonres/common/frame/src/css/header.css" />
		<link rel="stylesheet" type="text/css"
			href="<%=path%>/commonres/common/frame/src/css/footer.css" />
		<link rel="stylesheet" type="text/css"
			href="<%=path%>/commonres/common/frame/src/css/sidebox.css" />
		<link rel="stylesheet" type="text/css"
			href="<%=path%>/commonres/common/frame/src/css/channel.css" />
		
		<script type="text/javascript"
			src="<%=path%>/commonres/base/jquery-1.7.2.min.js"></script>
		<script type="text/javascript"
			src="<%=path%>/commonres/base/common.js"></script>
		
		<script type="text/javascript"
			src="/web/component/webpub/core/seajs2/dist/sea-debug.js"></script>

		<link rel="stylesheet" type="text/css" href="<%=path%>/commonres/common/slideshow/src/css/slideshow.css" />
    	<script type="text/javascript" src="<%=path%>/commonres/common/slideshow/src/js/UI.Slideshow.js"></script>
    	<link rel="stylesheet" type="text/css" href="<%=path%>/commonres/common/drop_menu/src/css/drop_menu.css" />
    	<script type="text/javascript" src="<%=path%>/commonres/common/drop_menu/src/js/UI.DropMenu.js"></script>
    	<script type="text/javascript" src="<%=path%>/component/ebvp/core/config.js"></script>

		<!-- UI Plugin -->
		<link rel="stylesheet" type="text/css"
			href="<%=path%>/commonres/common/navigator/src/css/navigator.css" />
		<link rel="stylesheet" type="text/css"
			href="<%=path%>/commonres/common/column_menu/src/css/column_men.css" />
		<link rel="stylesheet" type="text/css"
			href="<%=path%>/commonres/common/tipinside/src/css/tipinside.css" />
 <script>
    </script>
		<!-- 测试：未登录首页导航栏 -->
		<script type="text/javascript">
		var isstatusText = "finks";
		if(isstatusText == ""){
			(function($) {
				$.ajax({
					type: "GET",
			        url:"/ebvp/index/indexlog/tnoejt?myts=" + new Date(),
			        async: false,
			        data:"shjhnum=kinda",
			        success: handleResponse
				});
				function handleResponse(responseText, statusText, xhr, $form){
					if(typeof(responseText.responseText) == "undefined"){
						responseText = xhr.responseText;
					}
					var successvalues = responseText;
					if(successvalues == 'suenki'){
						isstatusText = "suenki";//bushe
					}
				}
			})($);
		}
		
		var changeLana = [];
			(function($) {
					$.ajax({
			type: "post",
	        url:"/ebvp/schedulecoll/langtrconller/langzl?myts=" + new Date(),
	        async: false,
	        success:function(msg) {
	        	changeLana = msg;
	       }
			});
			})($);
		
		 $(function() {
            var slideShowData = [
                {
                    'imgUrl': "/ebvp/commonres/common/slideshow/src/img/<%=strImg1%>",
                    'thumbUrl': "/ebvp/commonres/common/slideshow/src/img/<%=strTbImg1%>",
                    'linkUrl': ".",
                    'title': "<%=strTile%>"
                    ,
                    'callback': function() {
        				return false;
        			}
                },
                {
                    'imgUrl': "/ebvp/commonres/common/slideshow/src/img/<%=strImg2%>",
                    'thumbUrl': "/ebvp/commonres/common/slideshow/src/img/<%=strTbImg2%>",
                    'linkUrl': ".",
                    'title': ""
                    ,
                    'callback': function() {
        				return false;
        			}
                },
                {
                    'imgUrl': "/ebvp/commonres/common/slideshow/src/img/<%=strImg3%>",
                    'thumbUrl': "/ebvp/commonres/common/slideshow/src/img/<%=strTbImg3%>",
                    'linkUrl': ".",
                    'title': ""
                    ,
                    'callback': function() {
        				return false;
        			}
                },
                {
                    'imgUrl': "/ebvp/commonres/common/slideshow/src/img/<%=strImg4%>",
                    'thumbUrl': "/ebvp/commonres/common/slideshow/src/img/<%=strTbImg4%>",
                    'linkUrl': ".",
                    'title': ""
                    ,
                    'callback': function() {
        				return false;
        			}
                },
                {
                    'imgUrl': "/ebvp/commonres/common/slideshow/src/img/<%=strImg5%>",
                    'thumbUrl': "/ebvp/commonres/common/slideshow/src/img/<%=strTbImg5%>",
                    'linkUrl': ".",
                    'title': ""
                    ,
                    'callback': function() {
        				return false;
        			}
                }
            ];
            $( "#slideshow" ).UISlideShow({ 'items': slideShowData, 'hideThumb': false });
            
            
		    /* 自助服务按钮绑定下拉菜单 */
		    $( "#changeLan" ).UIDropMenu({ "menuId": "selfServiceMenu", 'items': changeLana, 'needShow':true, 'alignRight': true });
        });
		
					seajs.use( ['jquery','<%=path%>/commonres/common/frame/src/js/unSigned'], 
							function($,unSigned) {
					    	unSigned($);
						});
					</script>



		<script type="text/javascript">	
			
		$(function() {
	    	$( "#gonggl" ).click(function() {
	    		$("#gengduo").attr("href","<%=path%>/infopub/purannounce");
			});
	        $( "#caigdx" ).click(function() {
			 	$("#gengduo").attr("href","<%=path%>/infopub/viewpurtrends");
			});
		    $( "#zhengcfg" ).click(function() {
			 	$("#gengduo").attr("href","<%=path%>/infopub/viewlawrule");
			});
			$( "#orderzt" ).click(function() {
	    		$("#ordera").attr("href","<%=path%>/order/exestatuslist?menuid=32");
			});
	        $( "#ordergz" ).click(function() {
			 	$("#ordera").attr("href","<%=path%>/order/exeinfolist?menuid=33");
			});
	    });
			var ie7 = $.browser.msie && $.browser.version == 7;
	    function ajaxurlheil(urlvalue){
	     	$.ajax({
				type: "get",
		        url:"/ebvp/login/loginsuppname",
		        async: false,
		        data:"",
		        success:function(msg) {
							if (msg == "suppName") {
								window.location.href='/ebvp/login/loginOut';
							} else {
								if(($.browser.msie && $.browser.version == 7) ||($.browser.msie && $.browser.version == 8.0) || ($.browser.msie && $.browser.version == 7.0) || ($.browser.msie && $.browser.version == 8)|| ($.browser.msie && $.browser.version == 9)||($.browser.msie && $.browser.version == 9.0)){
				   					var scrWidth=screen.availWidth;
				   					var scrHeight=screen.availHeight;
									window.open(urlvalue,"newwindow","resizable=yes,toolbar=yes, menubar=yes,   scrollbars=yes,location=yes, status=yes,top=0,left=0,width="+scrWidth+",height="+scrHeight);
								} else {
									window.open(urlvalue);
								}					
							}
						}
			});
	    }
    
      	jQuery(document).ready(
         	function()
         	{
         		jQuery("#codefont").click(
         			function() 
         			{     	
         				//加一个不同的参数导致URL地址不同，才会重新发起请汿
         				jQuery("#codeimageid").attr("src","<%=path%>/randomid?num="+new Date().getTime());
         			}
         		);
         		
         		jQuery("#forget").click(
         			function()
         			{
         				if(jQuery("#supusername").val() ==''){
         					jQuery("#errorM").html(getLanMsg("ec22180-000191"));
         					return false;
         				}else{
         					jQuery("#forget").attr("href","<%=path%>/lostpwd?name="+jQuery("#supusername").val());
         				}
         			}
         		)
         	}
         )
         $(function() {
	        $( "#forget" ).click(function() {
			 	if($("#supusername").val() ==''){
	   			$("#errorM").html(getLanMsg("ec22180-000191"));
	    			return false;
	    		}else{
	    			$("#forget").attr("href","<%=path%>/lostpwd?name="+$("#supusername").val());	
	    		}
			});
         });
         
       	var strOs = "";
       	var navig = navigator.userAgent;
       	if(navig.indexOf("MSIE") > 0){
       		strOs = "MSIE";
       	}
       	if(navig.indexOf("Firefox") > 0){
       		strOs = "Firefox";
       	}
       	if(navig.indexOf("Safari") > 0){
       		strOs = "Safari";
       	}
       	if(navig.indexOf("Chrome") > 0){
       		strOs = "Chrome";
       	}
       	

		// 专家用户登录时验证
		function inputCheckzJ() {
    		if ($("#supusername1:first").val() == "") {
		        jQuery("#errorM").html(getLanMsg("ec22180-000191"));	        
		        $("#supusername1:first").focus();
		        return false;
		    }
		    if ($("#suppwd1:first").val() == "") {
		        $("#suppwd1:first").focus();
		        jQuery("#errorM").html(getLanMsg("ec22180-000192"));	
		        return false;
		    }
		    if ($("#usercode1:first").val() == "") {
		        $("#usercode1:first").focus();
		        jQuery("#errorM").html(getLanMsg("ec22180-000193"));	
		        return false;
		    }
		    return true;
		}
		function onKeyDownEnter(){
			if(typeof(window.event)=="undefined"){
				$(window).keydown(function(event){
					if(event.keyCode == 13){
						document.signonForm1.submit();
					}
				});
			} else {
				if (window.event.keyCode == 13){
					document.signonForm1.submit();
				}
			}
		}
		
	function windoeopetn(urlvalue){
			var ie7 = $.browser.msie && $.browser.version == 7;
   					if(($.browser.msie && $.browser.version == 7) ||($.browser.msie && $.browser.version == 8.0) || ($.browser.msie && $.browser.version == 7.0) || ($.browser.msie && $.browser.version == 8)|| ($.browser.msie && $.browser.version == 9)||($.browser.msie && $.browser.version == 9.0)){
			   					var scrWidth=screen.availWidth;
			   					var scrHeight=screen.availHeight;
								window.open(urlvalue,"newwindow","resizable=yes,toolbar=yes, menubar=yes,   scrollbars=yes,location=yes, status=yes,top=0,left=0,width="+scrWidth+",height="+scrHeight);
							} else {
								window.open(urlvalue);
							}		
    	}
	</script>
	<lang-support:langres resid="ec22180_0" />
	</head>
	<body id="index">
		<!-- Page Header -->
		<div class="header">
			<div class="header_bg_left">
				<div class="header_bg_right">
					<div class="float_center doc_width">
						<div class="header_content doc_width">
							<div id="unsignedNavigatorBar" class="header_navigator"></div>
							<div class="<%=header_logo%>"> </div>
							<%if(ECVersionPara.isStdVersion()){%>
							<div class="header_functions">
								<a href="." class="service" id="changeLan">
									<span class="icon"></span>
									<span><%=strLanShow%></span>
									<span class="arrow"></span>
								</a>
							</div>
							<%}%>
						</div>
					</div>
				</div>
			</div>
		</div>
		<!-- Document Content -->
		
		
		<div class="float_center doc_width doc_width1">
			<div class="doc_content_shadow doc_content_shadow1" >
				<div class="doc_content" >
					<div class="frame_column_left">
						<div class="sidebox">
							<div class="box_title bg_blue">
								<span class="title_icon noicon"></span>
								<span resid="ec22180-000249" class="title_name"></span>
							</div>
							<div class="sidebox_bd bdbtm bdgray">
								<div class="signon_tab">
								</div>
								<div id="signon1" class="signon_form">
									<form autocomplete="off" id="signonForm1" name="signonForm1"
										action="<%=path%>/login/login" method="post"
										>
										<label class="tipinside">
											<input title="" class="textfield  w_172px pd_5x2px" 
											<c:if test="${supusername == null}"> resid="ec22180-000254" </c:if>	id="supusername" name="supusername" value="${supusername}" />
										</label>
										<label class="tipinside">
											<input type="password" title="" resid="ec22180-000255"
												class="textfield  w_172px pd_5x2px" name="suppwd" 
												id="suppwd" autocomplete="off"/>
										</label>
										<label class="tipinside">
											<input title="" style="width: 110px;" resid="ec22180-000256" class="textfield   pd_5x2px"
												id="usercode" name="usercode" onkeydown="onKeyDownEnter()"/>
										</label>
										<a href="#" id="codefont" ><img style="border-width: 0px;" id="codeimageid" class="codeimg"src="<%=path%>/randomid" alt="" /></a>
										<a href="." id="signonSubmit" class="btn_orange"> <span resid="ec22180-000190"
											class="w_172px h_26px">&nbsp;&nbsp;&nbsp;</span> </a>
										<div id="errorM" class="mycolor">
											<c:out value="${ERROR_MESSAGE}"></c:out>
											<!--fuckl错误的提示信息-->
										</div>
										<div class="signon_links">
											<!-- modified by mawl for NCdp204772906-->
											<a resid="ec22180-000250" href="/ebvp/register/freesignup" class="register"></a> |
											
											<a href="#" resid="ec22180-000253" id="forget" style="cursor: hand;"></a>
										</div>
									</form>
								</div>
								
						
							</div>
							<div id="zcxz" style="float:left;margin-top:12px;"></div>
						<script type="text/javascript">
					<%if(bModuleSRM){%>
					seajs.use(
						[ G.base+'common/imgbar/src/js/bar', G.base+'common/imglist/src/js/list' ],
						function(Bar, List) {
							var option1 = {
								attrs : {
									url : '<%=path%>/index/indexlog/zcxz?myts=' + new Date()
								}
							};
							var list = new List(option1);
							var strTitle = getLanMsg("ec22180-000196");
							var option2 = {
								attrs : {
									classPrefix : "default",
									title : strTitle,
									content : list
								},
								renderTo : 'zcxz'
							};
							var graybar = new Bar(option2);
						});
					<%}%>
					</script>
						</div>
						


					</div>
					
					<div class="rightBox">
					<div class="frame_center frame_center1" style="margin-bottom:0px">
						<div id="slideshow" style="float: left; width: 730px; height: 210px; overflow: hidden;">
        					<div class="ui-slideshow">
            				<div class="ui-thumbwrapper">
					                <div class="ui-thumbar">
					                    <div class="float_right">
					                        <a href="#">
					                            <img src="/ebvp/commonres/common/slideshow/src/img/temp_slideshow_un_tb01.png" alt="" />
					                        </a>
					                        <a href="#" class="current">
					                            <img src="/ebvp/commonres/common/slideshow/src/img/temp_slideshow_un_tb02.png" alt="" />
					                        </a>
					                        <a href="#">
					                            <img src="/ebvp/commonres/common/slideshow/src/img/temp_slideshow_un_tb03.png" alt="" />
					                        </a>
					                        <a href="#">
					                            <img src="/ebvp/commonres/common/slideshow/src/img/temp_slideshow_un_tb04.png" alt="" />
					                        </a>
					                    </div>
					                </div>
					                <div class="ui-slidewrapper">
					                    <img src="/ebvp/commonres/common/slideshow/src/img/temp_slideshow_un_04.png" alt="" />
					                </div>
					            </div>
					        </div>
					    </div>
<!--						<div class="slideshow">-->
<!--							<img-->
<!--								src="/ebvp/commonres/common/slideshow/src/img/temp_slideshow_2.png"-->
<!--								alt="" />-->
<!--						</div>-->




					</div>
					
					
					<div class="frame_column_right frame_column_right1">
					
						<%if(bModuleEBP){%>
						<div id="graybar1">
						</div>
						<script type="text/javascript">
						seajs.use(
							[ 'common/bar/src/js/bar', G.base+'common/list/src/js/list' ],
							function(Bar, List) {
								var option1 = {
									attrs : {
										url : '<%=path%>/index/indexlog/lxwm?myts=' + new Date()
									}
								};
								var list = new List(option1);
								var strTitle = getLanMsg("ec22180-000105");
								var option2 = {
									attrs : {
										classPrefix : "default",
										title : strTitle,//头部标题
										content : list
									},
									renderTo : 'graybar1'//放到哪个div
								};
								var graybar = new Bar(option2);
							});
						</script>
						<%}%>
						<!-- <div id="graybar"></div> -->
						
					</div>
					
					
					
					
								
					
		<%if(bModuleEBP){%>
						<div id="releasedList" class="channel_box channel_box1">
							<div class="channel_title">
								<a href="#post1" class="title_label active" id="gonggl1">招标公告</a>
								<a href="#tendency1" class="title_label " id="caigdx1">中标公告</a>
								<a href="<%=path%>/index/indexlog/zbgggeng" class="title_more"
									id="gengduo1"><lang-support:wp resid="ec22180_0" key="ec22180-000065"/></a>
									
									
							</div>
		
							<ul id="post1" class="infolist infolist1">
								<%if(bModuleEBP){%>
						<div id="zbgg"></div>
						<script type="text/javascript">
					seajs.use(
						[ G.base+'common/mainbar/src/js/bar', G.base+'common/mainlist/src/js/list' ],
						function(Bar, List) {
							var option1 = {
								attrs : {
									url : '<%=path%>/index/indexlog/zbgg?myts=' + new Date()
								}
							};
							var list = new List(option1);
							var strTitle = getLanMsg("ec22180-000197");
							var strMoreTitle = getLanMsg("ec22180-000201");
							var option2 = {
								attrs : {
									classPrefix : "default",
									title : strTitle,//头部标题
									more_title : strMoreTitle,//
									top_link : true,//头部是否显示更多链接
									top_url : '<%=path%>/index/indexlog/zbgggeng',//顶部链接的url,
									content : list
								},
								renderTo : 'zbgg'//放到哪个div
							};
							var graybar = new Bar(option2);
						});
					</script>
							</ul>
							<ul id="tendency1" class="infolist infolist1 hidden">
									<div id="zhongbgg">
						</div>
						<script type="text/javascript">
					seajs.use(
						[ G.base+'common/mainbar/src/js/bar', G.base+'common/mainlist/src/js/list' ],
						function(Bar, List) {
							var option1 = {
								attrs : {
									url : '<%=path%>/index/indexlog/zhongbgg?myts=' + new Date()
								}
							};
							var list = new List(option1);
							var strTitle = getLanMsg("ec22180-000198");
							var strMoreTitle = getLanMsg("ec22180-000201");
							var option2 = {
								attrs : {
									classPrefix : "default",
									title : strTitle,//头部标题
									more_title : strMoreTitle,//
									top_link : true,//头部是否显示更多链接
									top_url : '<%=path%>/index/indexlog/zhongbgggeng',//顶部链接的url,
									content : list
								},
								renderTo : 'zhongbgg'//放到哪个div
							};
							var graybar = new Bar(option2);
						});
					</script>
							</ul>
							
						</div>
						
						<script type="text/javascript"
			src="<%=path%>/commonres/base/jquery.min.js"></script>		
<script type="text/javascript">
var jq=$.noConflict();
</script>
<script type="text/javascript">
  jq(function(){
									jq("#gonggl1").click(function(){
											jq("#gengduo1").attr("href","<%=path%>/index/indexlog/zbgggeng");
										});
										jq("#caigdx1").click(function(){
											jq("#gengduo1").attr("href","<%=path%>/index/indexlog/zhongbgggeng");
										});
									});
									</script>
									
						<%}%>



					
					
					<%}%>
					
					
					
					
					
					<%if(bModuleEBP){%>
						<div id="releasedList" class="channel_box channel_box1">
							<div class="channel_title">
								<a href="#post" class="title_label active" id="gonggl">系统公告</a>
								<a href="#tendency" class="title_label " id="caigdx">采购公告</a>
								<a href="#policy" class="title_label " id="zhengcfg">其他公告</a>
								<a href="<%=path%>/infopub/purannounce" class="title_more"
									id="gengduo"><lang-support:wp resid="ec22180_0" key="ec22180-000065"/></a>
							</div>
							<ul id="post" class="infolist infolist1 ">
								<c:if test="${purAnnounce!=null}">
									<c:forEach items="${purAnnounce}" var="pur" varStatus="index">
										<li>
											<c:if test="${pur.invite_type != 1}">
												<a href="javascript:ajaxurlheil('/ebvp/infopub/showcontent?id=${pur.pk_infopub_h}');" class="first_row">${pur.infotitle}</a>
												<span style="color: #7D7D7D; display: inline;float: left;line-height: 23px;margin-left: 5px;">${pur.pubtime}</span>&nbsp;&nbsp;&nbsp;
												<span style="display: inline;float: left;line-height: 23px;margin-left: 5px;">${pur.purgorp}</span>
												<c:if test="${index.index == 0}">
													<span class="detail_intro"><div style="word-wrap:break-word; word-spacing:normal">${pur.info_content}</div></span>
													<span class="pub_man">${pur.purper}</span>
													<span class="pub_org">${pur.purgorp}</span>
												</c:if>
												<!-- <span class="detail_date">(09-25)</span>-->
											</c:if>
											<c:if test="${pur.invite_type == 1}">
												<a 
													href="javascript:ajaxurlheil('/ebvp/sourcing/biddingprojlist/releaseinviteinfo?pkProj=${pur.purproj_id}&pkProjStep=${pur.proj_step_id}');"
													class="first_row"><lang-support:wp resid="ec22180_0" key="ec22180-000095"/>&nbsp;&nbsp;&nbsp;${pur.infotitle}</a>
												<span style="color: #7D7D7D; display: inline;float: left;line-height: 23px;margin-left: 5px;"
												>${pur.pubtime}</span>&nbsp;&nbsp;&nbsp;<span style="display: inline;float: left;line-height: 23px;margin-left: 5px;">${pur.purgorp}</span>
												<c:if test="${index.index == 0}">
													<span class="detail_intro"> <img
															src="<%=path%>/commonres/common/frame/src/img/temp_info_list_detail_thumb.png"
															alt="" /> ${pur.info_content} </span>
												</c:if>
												<!--                            <span class="detail_date">(09-25)</span>-->
											</c:if>
										</li>
									</c:forEach>
								</c:if>
								<c:if test="${purAnnounce==null}">
									<li>
										<span class="detail_intro"><lang-support:wp resid="ec22180_0" key="ec22180-000096"/></span>
									</li>
								</c:if>
							</ul>
							<ul id="tendency" class="infolist infolist1 hidden">
								<c:if test="${purEtrends!=null}">
									<c:forEach items="${purEtrends}" var="pur" varStatus="index">
										<li>
											<a href="javascript:ajaxurlheil('/ebvp/infopub/showcontent?id=${pur.pk_infopub_h}');" class="first_row">${pur.infotitle}</a>
											<span style="color: #7D7D7D; display: inline;float: left;line-height: 23px;margin-left: 5px;">${pur.pubtime}</span>&nbsp;&nbsp;&nbsp;
											<span style="display: inline;float: left;line-height: 23px;margin-left: 5px;">${pur.purgorp}</span>
											<c:if test="${index.index == 0}">
												<span class="detail_intro"><div style="word-wrap:break-word; word-spacing:normal">${pur.info_content}</div></span>
												<span class="pub_man">${pur.purper}</span>
												<span class="pub_org">${pur.purgorp}</span>
											</c:if>
<!--											<span class="detail_date">(09-25)</span>-->
										</li>
									</c:forEach>
								</c:if>
								<c:if test="${purEtrends==null}">
									<li>
										<span class="detail_intro"><lang-support:wp resid="ec22180_0" key="ec22180-000097"/></span>
									</li>
								</c:if>
							</ul>
							<ul id="policy" class="infolist infolist1 hidden">
								<c:if test="${lawAndRule!=null}">
									<c:forEach items="${lawAndRule}" var="pur" varStatus="index">
										<li>
											<a href="javascript:ajaxurlheil('/ebvp/infopub/showcontent?id=${pur.pk_infopub_h}');" class="first_row">${pur.infotitle}</a>
											<span style="color: #7D7D7D; display: inline;float: left;line-height: 23px;margin-left: 5px;">${pur.pubtime}</span>&nbsp;&nbsp;&nbsp;
											<span style="display: inline;float: left;line-height: 23px;margin-left: 5px;">${pur.purgorp}</span>
											<c:if test="${index.index == 0}">
												<span class="detail_intro"><div style="word-wrap:break-word; word-spacing:normal">${pur.info_content}</div></span>
												<span class="pub_man">${pur.purper}</span>
												<span class="pub_org">${pur.purgorp}</span>
											</c:if>
<!--											<span class="detail_date">(09-25)</span>-->
										</li>
									</c:forEach>
								</c:if>
								<c:if test="${lawAndRule==null}">
									<li>
										<span class="detail_intro"><lang-support:wp resid="ec22180_0" key="ec22180-000098"/></span>
									</li>
								</c:if>
							</ul>
						</div>
						<%}%>
					
					
					
					
				</div>
			</div>

		</div>

		
		</div>
		
		<!-- Page Footer -->
		<div class="float_left w_100ps" sytle="margin-top:100px">
			<div class="footer">
				<div class="footer_bg bg_left">
					<%
					if (ECVersionPara.isStdVersion()) {
					%>
					<div resid="ec22180-000251" id="lan_index_3" class="footer_bg bg_right">
						<br />
					</div>
					<%
						}
					%>
					<%
					if (!ECVersionPara.isStdVersion()) {
					%>
					<div id="lan_index_3" class="footer_bg bg_right">
						<br />
					</div>
					<%
						}
					%>
				</div>
			</div> 
		</div>
		
		
	</body>
	<script type="text/javascript">
		seajs.use(
			[ 'common/bar/src/js/bar', 'common/list/src/js/list' ],
			function(Bar, List) {
				var strUrl;
				if("simpchn" == strSelLan){
					<%if(ECVersionPara.isGHVersion1() || ECVersionPara.isGHVersion2()){%>
					strUrl = '<%=path%>/json/yqlj_gh_simpchn.json';
					<%}else{%>
					strUrl = '<%=path%>/json/yqlj_simpchn.json';
					<%}%>
				}else if("english" == strSelLan){
					strUrl = '<%=path%>/json/yqlj_english.json';
				}else if("tradchn" == strSelLan){
					strUrl = '<%=path%>/json/yqlj_tradchn.json';
				}else if("french" == strSelLan){
					strUrl = '<%=path%>/json/yqlj_french.json';
				}
				var option1 = {
					attrs : {
						url : strUrl
					}
				};
				var list = new List(option1);
				var strTitle = getLanMsg("ec22180-000195");
				var option2 = {
					attrs : {
						classPrefix : "default",
						title :strTitle,//头部标题
						content : list
					},
					renderTo : 'graybar'//放到哪个div
				};
				var graybar = new Bar(option2);
			});
		changeLan();
		$(function(){
			$( "#releasedList .title_label" ).click(function() {
				 this.blur();
				 var labelContent = $( "#" + $( this ).attr("href").split("#")[1] );
				 $( this ).parents(".channel_box").find("ul").not(".hidden").addClass("hidden");
				 labelContent.removeClass("hidden");
				 $( this ).parent().find(".active").removeClass("active");
				 $( this ).addClass("active");
				 if($( this ).prev().length == 0) $( this ).css({ 'borderLeft': 0 });
				 return false;
			 }); 
		})
	</script>
</html>